package com.sincon.core.config;

import org.springframework.context.annotation.Configuration;

import java.util.Arrays;
import java.util.List;
import java.util.Random;

@Configuration
public class AvatarConfig {
    private static final List<String> AVATAR_URLS = Arrays.asList(
        "http://image.mcshare.cn/LightPicture/2024/09/c6bee3031881e655.png",
        "http://image.mcshare.cn/LightPicture/2024/06/ecb82b8b32cf239a.gif",
        "http://image.mcshare.cn/LightPicture/2024/04/1e8ad71928aae49a.png"
    );
    
    public static String getRandomAvatar() {
        return AVATAR_URLS.get(new Random().nextInt(AVATAR_URLS.size()));
    }
} 